{
    backgroundColor: {
        type: 'linear',
        x: 0,
        y: 0,
        x2: 0,
        y2: 1,
        colorStops: [{
            offset: 0, color: 'red'
        }, {
            offset: 1, color: 'blue'
        }],
        global: false
    },
    grid:{x:'60',y:'100',x2:'60',y2:'60'},
    title: {
        text:'广告收入',
        x:'middle',
        textAlign:'center'
    },
    legend: {
        data: ['总收入', 'SDK', 'ADX'],
        top: '40'
    },
    xAxis: [
        {
            type: 'category',
            data: ${categories},
            axisPointer: {
                type: 'shadow'
            },
            axisLine: {show: true},
            splitLine: {
                lineStyle: {
                        type: "dashed"
                },
                show: true
            }
        }
    ],
    yAxis: [
        {
            type: 'value',
            name: '单位：万元',
            min: 0,
            max: 50,
            interval: 5,
            axisLabel: {
                formatter: '{value}'
            },
            axisLine: {show: false},
            splitLine: {
                show: false
            }
        }
    ],
    series: [
        {
            name: '总收入',
            type: 'bar',
            itemStyle:{
                    normal:{
                        color:'#FFEFD5',
                        label: {
                            show : true,
                            position : 'top',
                            formatter : "{c}",
                            textStyle : {
                                color: '#000000'
                            }
                        }
                    },
            },
            data: ${incomeTotal}
        },
        {
            name: 'SDK',
            type: 'line',
            smooth:true,
            itemStyle:{
                    color:'#32CD32',
                    normal:{
                        label: {
                            show : true,
                            position : 'top',
                            formatter : "{c}",
                            textStyle : {
                                color: '#000000'
                            }
                        }
                    },
            },
            data: ${incomeSDk}
        },
        {
            name: 'ADX',
            type: 'line',
            smooth:true,
            itemStyle:{
                    color:'#FF7F50',
                    normal:{
                        label: {
                            show : true,
                            position : 'top',
                            formatter : "{c}",
                            textStyle : {
                                color: '#000000'
                            }
                        }
                    },
            },
            data: ${incomeADX}
        }
    ]
}